/*This is basic in-room type that represents unique in-room
 *
 *
 */
#ifndef FKACTOR_H
#define FKACTOR_H

#include "FKObject.h"

class FKWatchingGroup;

class FKOBJECTSSHARED_EXPORT FK_OBJECT(FKActor,FKObject)
    Q_OBJECT
public:
//    FKActor(FKRoom* room=0,qint32 objectID=-1);
//    ~FKActor();
    void setWatchingGroup(FKWatchingGroup* w);
    FKWatchingGroup* watchingGroup()const{return _watchingGroup;}
signals:
    void won(FKActor* actor);
    void loose(FKActor* actor);
public slots:
    void win();
    void lose();
private:
    FKWatchingGroup* _watchingGroup;

    FK_NO_SERVANT
    FK_NO_CUSTOM_VALUES
};

#endif // FKACTOR_H
